<?php

class Application_Form_Fraisforfait extends Zend_Form
{

    public function init()
    {
        $this->setName('fraisforfait');
        $id = new Zend_Form_Element_Hidden('id');
        
        $montant = new Zend_Form_Element_Text('montant');
        $montant->setLabel('montant')
                ->setRequired(true)
                ->addValidator('NotEmpty');
        
        
        $envoyer = new Zend_Form_Element_Submit('envoyer');
        $envoyer->setAttrib('id', 'boutonenvoyer');
        
        $this->addElements(array($id, $montant, $envoyer));
    }


}

